package com.hyl.springbootappinfo.service;

import com.hyl.springbootappinfo.pojo.App_info;
import com.hyl.springbootappinfo.pojo.Backend_user;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface Backend_userService {
    /**
     * 管理者登录
     * @param userCode
     * @param userPassword
     * @return
     */
    Backend_user dologin(@Param("userCode") String userCode, @Param("userPassword")String userPassword);

    /**
     * 跳转审核页面查询
     * @param id
     * @param versionId
     * @return
     */
    App_info appcheck(@Param("id") Integer id, @Param("versionId")Integer versionId);

    /**
     * 修改审核是否通过
     * @param id
     * @param status
     * @return
     */
    int statusmodify(@Param("id")Integer id,@Param("status")Integer status);

    /**
     * @param
     * @return 查看App信息
     */
    List<App_info> applists(@Param("pageindex") Integer pageindex, @Param("pagesize") Integer pagesize
            , @Param("softwareName") String softwareName, @Param("flatformId")Integer flatformId,
                            @Param("categoryLevel3")Integer categoryLevel3, @Param("categoryLevel1")Integer categoryLevel1,
                            @Param("categoryLevel2")Integer categoryLevel2);
}
